<body>
  <ul>
    <li>
      <div>PHP JavaScript jQuery</div>
    </li>
    <li>JavaScript</li>
    <li><a href="#">jQuery</a></li>
    <li class="defined"></li>
  </ul>
  <script src="jquery-1.12.4.min.js"></script>
  <script>
    console.log($('li:contains(\'jQuery\')'));
    console.log($('li:empty'));
    console.log($('li:has(\'a\')'));
    console.log($('li:parent'));
  </script>
  <a href="../首页/page11.html">
    <h2>返回上一页面</h2>
  </a>
</body>